
    function up(n) {
        var o11 = Number(document.querySelector("#ol1").value);
        var o12 = Number(document.querySelector("#ol2").value);
        if (n == 1){
            document.querySelector("#pl").value = o11 + o12;
        }
        if (n == 2){
            document.querySelector("#pl").value = o11 - o12;
        }
        if (n == 3){
            document.querySelector("#pl").value = o11 * o12;
        }
        if (n == 4){
            document.querySelector("#pl").value = o11 / o12;
        }
    }

    
    
    
    
    
    
    
    